satellite/payments/stripecoinpayments: fix nil panic during storj token
deposit Change-Id: I2294656aad475748b53d786b03c3810b338963bb
This commit is contained in:
parent
e5bb897364
commit
5355928317
@ -95,6 +95,7 @@ func (tokens *storjTokens) Deposit(ctx context.Context, userID uuid.UUID, amount
|
||||
AccountID: userID,
|
||||
Address: tx.Address,
|
||||
Amount: tx.Amount,
|
||||
Received: monetary.AmountFromBaseUnits(0, tx.Amount.Currency()),
|
||||
Status: coinpayments.StatusPending,
|
||||
Key: key,
|
||||
Timeout: tx.Timeout,
|
||||
|
Loading…
Reference in New Issue
Block a user