130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
if {$pubCheck ne $pub} {
puts "\[1.FAIL\] Got: $pubCheck"
puts "\[1.FAIL\] Exp: $pub"
return false
}
set addrCheck [::nano::address::fromPublicKey $pub]
if {$addrCheck ne $addr} {
puts "\[2.FAIL\] Got: $addrCheck"
puts "\[2.FAIL\] Exp: $addr"
return false
}
|
|
|
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
if {$pubCheck ne $pub} {
puts "\[1.FAIL\] Got: $pubCheck"
puts "\[1.FAIL\] Exp: $pub"
return false
}
set addrCheck [::nano::address::fromPublicKey $pub -nano]
if {$addrCheck ne $addr} {
puts "\[2.FAIL\] Got: $addrCheck"
puts "\[2.FAIL\] Exp: $addr"
return false
}
|