Signed-off-by: Tommy TIAN <xtianae@connect.ust.hk>
This commit is contained in:
Tommy TIAN 2022-05-18 20:42:49 +08:00
parent 67a1166396
commit 759b350537
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ func main() {
err := os.Setenv("DISCOVERY_AS_LOCALHOST", "true")
if err != nil {
log.Fatalf("Error setting DISCOVERY_AS_LOCALHOST environemnt variable: %v", err)
log.Fatalf("Error setting DISCOVERY_AS_LOCALHOST environment variable: %v", err)
}
wallet, err := gateway.NewFileSystemWallet("wallet")

View file

@ -13,7 +13,7 @@ type SmartContract struct {
}
// Asset describes basic details of what makes up a simple asset
//Insert struct field in alphabetic order => to achieve determinism accross languages
//Insert struct field in alphabetic order => to achieve determinism across languages
// golang keeps the order when marshal to json but doesn't order automatically
type Asset struct {
AppraisedValue int `json:"AppraisedValue"`