Skip to content

Commit

Permalink
fix storage size check typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricfung committed Mar 3, 2025
1 parent 1a58df2 commit abfb1e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invoice.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func NewMixinInvoice(recipient string) *MixinInvoice {

func (e *InvoiceEntry) IsStorage() bool {
return e.AssetId.String() == XINAssetId &&
len(e.Extra) >= common.ExtraSizeGeneralLimit &&
len(e.Extra) > common.ExtraSizeGeneralLimit &&
e.Amount.Cmp(EstimateStorageCost(e.Extra)) == 0
}

Expand Down

0 comments on commit abfb1e7

Please sign in to comment.