-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
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
Sui and flow #211
Sui and flow #211
Conversation
@@ -63,7 +63,7 @@ | |||
log.Printf("GetBalance Error: %+v\n", err) | |||
panic(err) | |||
} | |||
return int64(account.Balance), int64(sequenceNumber), nil | |||
return int64(account.Balance), sequenceNumber, nil |
Check failure
Code scanning / gosec
Potential integer overflow by integer type conversion Error
Type: 0, | ||
Height: big.NewInt(int64(transaction.BlockHeight)).String(), | ||
ContractAddress: "0x00", | ||
Index: uint32(transaction.ProposerIndex), |
Check failure
Code scanning / gosec
Potential integer overflow by integer type conversion Error
Type: 0, | ||
Height: big.NewInt(int64(transation.BlockHeight)).String(), | ||
ContractAddress: "0x00", | ||
Index: uint32(transation.ProposerIndex), |
Check failure
Code scanning / gosec
Potential integer overflow by integer type conversion Error
if err != nil { | ||
return &wallet2.TxHashResponse{ | ||
Code: common.ReturnCode_ERROR, | ||
Msg: "get transaction fail", | ||
}, err | ||
} | ||
panic("implement me") | ||
|
||
message, _ := a.getTxMessage(txDetail) |
Check warning
Code scanning / gosec
Returned error is not propagated up the stack. Warning
// todo sui 专有的交易结构,直接放到value中,前端自定义获取解析 | ||
var tx_list []*wallet2.TxMessage | ||
for _, tx := range txList.Data { | ||
message, _ := a.getTxMessage(tx) |
Check warning
Code scanning / gosec
Returned error is not propagated up the stack. Warning
No description provided.