diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cfb1d52..1f57a2b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## In master +## [v0.3.0-rc.8](https://github.com/stellar/js-stellar-wallets/compare/v0.3.0-rc.7...v0.3.0-rc.8) + +- Also consider 0 (zero) as "simple" fee type when parsing asset info. + ## [v0.3.0-rc.7](https://github.com/stellar/js-stellar-wallets/compare/v0.3.0-rc.6...v0.3.0-rc.7) - [Fixed] Added sponsor address to `AccountDetails`. diff --git a/src/transfers/parseInfo.ts b/src/transfers/parseInfo.ts index c5e0f99c..a8eb38de 100644 --- a/src/transfers/parseInfo.ts +++ b/src/transfers/parseInfo.ts @@ -41,8 +41,8 @@ const parseFee = ( feeEnabled: boolean, ): Fee => { if ( - (fee_fixed && Number(fee_fixed) > 0) || - (fee_percent && Number(fee_percent) > 0) + (fee_fixed && Number(fee_fixed) >= 0) || + (fee_percent && Number(fee_percent) >= 0) ) { return { type: "simple",