forked from TrueCloudLab/frostfs-node
[#584] pkg/innerring: Stop using deprecated methods
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
91f010e0a9
commit
057ebf9d51
11 changed files with 65 additions and 44 deletions
|
@ -215,14 +215,7 @@ func (s settlementDeps) Transfer(sender, recipient *owner.ID, amount *big.Int, d
|
|||
Details: details,
|
||||
}
|
||||
|
||||
var err error
|
||||
|
||||
if s.notaryDisabled {
|
||||
err = s.balanceClient.TransferX(params)
|
||||
} else {
|
||||
err = s.balanceClient.TransferXNotary(params)
|
||||
}
|
||||
|
||||
err := s.balanceClient.TransferX(params)
|
||||
if err != nil {
|
||||
log.Error("could not send transfer transaction for audit",
|
||||
zap.String("error", err.Error()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue