81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
set result $resultBinary
}
return $result
}
proc ::nano::address::fromPublicKey {pubKey args} {
set addressPrefix "xrb_"
foreach arg $args {
switch -exact -- $arg {
"-xrb" {
set addressPrefix "xrb_"
}
"-nano" {
set addressPrefix "nano_"
|
|
|
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
set result $resultBinary
}
return $result
}
proc ::nano::address::fromPublicKey {pubKey args} {
set addressPrefix "nano_"
foreach arg $args {
switch -exact -- $arg {
"-xrb" {
set addressPrefix "xrb_"
}
"-nano" {
set addressPrefix "nano_"
|