Skip to content

Commit d8cbddb

Browse files
committed
Update gas when pasting address in send
1 parent 1a83448 commit d8cbddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/app/pages/send/send.component.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ export default class SendTransactionScreen extends PersistentForm {
304304
}}
305305
onChange={this.onRecipientInputChange}
306306
onValidAddressTyped={(address) => this.props.updateSendTo(address, '')}
307-
onPaste={text => this.props.updateSendTo(text)}
307+
onPaste={text => { this.props.updateSendTo(text) && this.updateGas() }}
308308
onReset={() => this.props.updateSendTo('', '')}
309309
updateEnsResolution={this.props.updateSendEnsResolution}
310310
updateEnsResolutionError={this.props.updateSendEnsResolutionError}

0 commit comments

Comments
 (0)