mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-22 19:39:22 +00:00
use valid hex string so the hex parser doesn't throw and cause the test to explode
This commit is contained in:
parent
24c9561257
commit
4db85cb5f1
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ void main() {
|
|||
// Replace "var1" with a hex string containing an output (script pub key)
|
||||
test("testUnwrapSPK", () {
|
||||
// Example Hex format string
|
||||
String var1 = "YOUR-SCRIPT-PUBKEY-AS-HEX-STRING-FOR-TESTING-GOES-HERE";
|
||||
String var1 = "76a91463456150b05a67084d795fbce22c8fbbca37697288ac";
|
||||
// Convert the Hex string to Uint8List
|
||||
Uint8List wrapped_spk = Uint8List.fromList(HEX.decode(var1));
|
||||
|
||||
|
|
Loading…
Reference in a new issue