We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xchain.go
utxoOutput := &pb.UtxoOutput{ // UtxoList: utxolist, // TotalSelected: totalSelected.String(), UtxoList: response.UtxoOutput.UtxoList, TotalSelected: response.UtxoOutput.TotalSelected,
"response.UtxoOutput" will be nil when invoke contract
error message
panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xaa2475] goroutine 1 [running]: github.com/xuperchain/xuper-sdk-go/xchain.(*Xchain).GenRealTxOnly(0xc00026c010, 0xc0002967d0, 0x0, 0x0, 0x0, 0x0, 0x0) /root/go/pkg/mod/github.com/xuperchain/[email protected]/xchain/xchain.go:479 +0xa5 github.com/xuperchain/xuper-sdk-go/xchain.(*Xchain).GenCompleteTxAndPost(0xc00026c010, 0xc0002967d0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /root/go/pkg/mod/github.com/xuperchain/[email protected]/xchain/xchain.go:745 +0x1097 github.com/xuperchain/xuper-sdk-go/contract.(*WasmContract).PostWasmContract(0xc00026c000, 0xc0002967d0, 0x0, 0x0, 0x0, 0x0) /root/go/pkg/mod/github.com/xuperchain/[email protected]/contract/contract.go:120 +0x416 github.com/xuperchain/xuper-sdk-go/contract.(*WasmContract).InvokeWasmContract(0xc00026c000, 0xbf6580, 0x8, 0xc0001a3e48, 0x0, 0x0, 0x0, 0x0) /root/go/pkg/mod/github.com/xuperchain/[email protected]/contract/contract.go:132 +0x205
The text was updated successfully, but these errors were encountered:
使用的什么版本的链?
Sorry, something went wrong.
你好,这个问题解决了吗
No branches or pull requests
xchain.go
"response.UtxoOutput" will be nil when invoke contract
error message
The text was updated successfully, but these errors were encountered: