Errors are not handled (particularly in Ether case):
EventGetAdressNonce errors are simply ignored (if EventGetAdressBalance has nil error):
|
case currencies.ETHTest: |
|
nonce, err = restClient.ETH.CliTest.EventGetAdressNonce(context.Background(), &adr) |
|
amount, err = restClient.ETH.CliTest.EventGetAdressBalance(context.Background(), &adr) |
|
case currencies.ETHMain: |
|
nonce, err = restClient.ETH.CliMain.EventGetAdressNonce(context.Background(), &adr) |
|
amount, err = restClient.ETH.CliMain.EventGetAdressBalance(context.Background(), &adr) |
GetAllWalletEthTransactions simply not handled
|
err = restClient.userStore.GetAllWalletEthTransactions(user.UserID, currencyId, networkId, &userTxs) |
Errors are not handled (particularly in Ether case):
EventGetAdressNonceerrors are simply ignored (ifEventGetAdressBalancehas nil error):Multy-back/client/rest.go
Lines 1404 to 1409 in 527bb21
GetAllWalletEthTransactionssimply not handledMulty-back/client/rest.go
Line 1434 in 527bb21