mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Remove unnecessary convs found by unconvert.
This removes all unnecessary typecast conversions as found by the unconvert linter.
This commit is contained in:
parent
f9ac1a7786
commit
36af96160d
@ -551,7 +551,7 @@ func parseTxAcceptedNtfnParams(params []json.RawMessage) (*chainhash.Hash,
|
||||
return nil, 0, err
|
||||
}
|
||||
|
||||
return txHash, btcutil.Amount(amt), nil
|
||||
return txHash, amt, nil
|
||||
}
|
||||
|
||||
// parseTxAcceptedVerboseNtfnParams parses out details about a raw transaction
|
||||
@ -628,7 +628,7 @@ func parseAccountBalanceNtfnParams(params []json.RawMessage) (account string,
|
||||
return "", 0, false, err
|
||||
}
|
||||
|
||||
return account, btcutil.Amount(bal), confirmed, nil
|
||||
return account, bal, confirmed, nil
|
||||
}
|
||||
|
||||
// parseWalletLockStateNtfnParams parses out the account name and locked
|
||||
|
Loading…
x
Reference in New Issue
Block a user