File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -677,7 +677,7 @@ export class Dot extends BaseCoin {
677677
678678 if ( verification ?. consolidationToBaseAddress ) {
679679 // Verify funds are sent to wallet's base address for consolidation
680- const baseAddress = wallet ?. coinSpecific ( ) ?. baseAddress || wallet ?. coinSpecific ( ) ?. rootAddress ;
680+ const baseAddress = wallet ?. coinSpecific ( ) ?. rootAddress || wallet ?. coinSpecific ( ) ?. baseAddress ;
681681 if ( ! baseAddress ) {
682682 throw new Error ( 'Unable to determine base address for consolidation' ) ;
683683 }
@@ -697,11 +697,11 @@ export class Dot extends BaseCoin {
697697 throw new Error ( 'missing recipients in txParams' ) ;
698698 }
699699
700- if ( Array . isArray ( txParams . recipients ) && txParams . recipients . length > 1 ) {
701- throw new Error (
702- `${ this . getChain ( ) } doesn't support sending to more than 1 destination address within a single transaction. Try again, using only a single recipient.`
703- ) ;
704- }
700+ if ( Array . isArray ( txParams . recipients ) && txParams . recipients . length > 1 ) {
701+ throw new Error (
702+ `${ this . getChain ( ) } doesn't support sending to more than 1 destination address within a single transaction. Try again, using only a single recipient.`
703+ ) ;
704+ }
705705
706706 // validate recipient is same as txBuilder['_to']
707707 if ( txParams . recipients [ 0 ] . address !== txBuilder [ '_to' ] ) {
You can’t perform that action at this time.
0 commit comments