OpenBazaar/spvwallet

cannot use int64(value) (type int64) as type string in field value

liupan163 opened this issue · 1 comments

hello, when i try to run the examples/client.go . the error is :

github.com/OpenBazaar/spvwallet

......\pkg\mod\github.com!open!bazaar\spvwallet@v0.0.0-20200112224336-39f04e8d6d34\mock.go:235:3: cannot use int64(value) (type int64) as type string in field value
......\pkg\mod\github.com!open!bazaar\spvwallet@v0.0.0-20200112224336-39f04e8d6d34\mock.go:325:3: cannot use 1000000 (type untyped int) as type string in field value
......\pkg\mod\github.com!open!bazaar\spvwallet@v0.0.0-20200112224336-39f04e8d6d34\mock.go:341:17: cannot use 4 (type untyped int) as type string in assignment

check the version :
spvwallet@v0.0.0-20200112224336-39f04e8d6d34
wallet-interface@v0.0.0-20200511225204-f14dd43579f0

there are some type values not match in this two projects.

solved, my go environment is wrong.