fix: order of addresses in storage adapter reserve funds
This commit is contained in:
parent
ebd6b0da49
commit
ea810ac806
@ -113,7 +113,7 @@ func (c *ClientNodeAdapter) AddFunds(ctx context.Context, addr address.Address,
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *ClientNodeAdapter) ReserveFunds(ctx context.Context, wallet, addr address.Address, amt abi.TokenAmount) (cid.Cid, error) {
|
func (c *ClientNodeAdapter) ReserveFunds(ctx context.Context, wallet, addr address.Address, amt abi.TokenAmount) (cid.Cid, error) {
|
||||||
return c.fundmgr.Reserve(ctx, addr, wallet, amt)
|
return c.fundmgr.Reserve(ctx, wallet, addr, amt)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *ClientNodeAdapter) ReleaseFunds(ctx context.Context, addr address.Address, amt abi.TokenAmount) error {
|
func (c *ClientNodeAdapter) ReleaseFunds(ctx context.Context, addr address.Address, amt abi.TokenAmount) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user