Skip to content
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

Merged
merged 15 commits into from
Dec 27, 2023
Merged

Sui and flow #211

merged 15 commits into from
Dec 27, 2023

Conversation

tiantianlikeu
Copy link
Contributor

No description provided.

@guoshijiang guoshijiang merged commit 415d070 into develop Dec 27, 2023
2 of 4 checks passed
@@ -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

Potential integer overflow by integer type conversion
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

Potential integer overflow by integer type conversion
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

Potential integer overflow by integer type conversion
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

Returned error is not propagated up the stack.
// 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

Returned error is not propagated up the stack.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants