mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-22 21:25:49 +00:00
fix style and bump version
This commit is contained in:
@@ -76,7 +76,9 @@ const Amount = makeClass({
|
||||
this.value = value || new Decimal('0');
|
||||
this.currency = currency || Currency.XRP;
|
||||
this.issuer = issuer || null;
|
||||
validate && this.assertValueIsValid();
|
||||
if (validate) {
|
||||
this.assertValueIsValid();
|
||||
}
|
||||
},
|
||||
mixins: SerializedType,
|
||||
statics: {
|
||||
|
||||
Reference in New Issue
Block a user