*: change address to the new format

NEO3 uses new prefix for address (53 = 0x35), thus string representations as
well as encrypted WIFs should be changed.
This commit is contained in:
Evgenii Stratonikov 2020-06-16 13:47:29 +03:00
parent 651976b2ca
commit 7b4ca57e33
29 changed files with 106 additions and 95 deletions

View file

@ -6,7 +6,7 @@ import (
)
// Check if the invoker of the contract is the specified owner
var owner = util.FromAddress("Aej1fe4mUgou48Zzup5j8sPrE3973cJ5oz")
var owner = util.FromAddress("Nis7Cu1Qn6iBb8kbeQ5HgdZT7AsQPqywTC")
// Main is something to be ran from outside.
func Main(operation string, args []interface{}) bool {