115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
if {$pubKey ne $pubKey_expected} {
puts "\[3.FAIL\] Got: $pubKey"
puts "\[3.FAIL\] Exp: $pubKey_expected"
return false
}
return true
}
proc test_addressformat {} {
set addr nano_35ynhw4qd1pam88azf86nk8ka5sthnzaubcw5fawingep1sjydwaiw8xy7t6
set pub 8FD47F057582C8998C8FB4C4A48D240F3A7D3E8DA55C1B51C851CCB0331F2F88
|
>
>
>
|
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
if {$pubKey ne $pubKey_expected} {
puts "\[3.FAIL\] Got: $pubKey"
puts "\[3.FAIL\] Exp: $pubKey_expected"
return false
}
# Generate a new seed
set seed [::nano::key::newSeed]
return true
}
proc test_addressformat {} {
set addr nano_35ynhw4qd1pam88azf86nk8ka5sthnzaubcw5fawingep1sjydwaiw8xy7t6
set pub 8FD47F057582C8998C8FB4C4A48D240F3A7D3E8DA55C1B51C851CCB0331F2F88
|