Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Commit

Permalink
Fix: do not count undefined as a valid OP_RETURN data
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLarch committed Oct 4, 2016
1 parent fa968b9 commit 2a60835
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class @WalletSendIndexDialogViewController extends ledger.common.DialogViewContr
@view.amountInput.val @params.amount
if @params.address?
@view.receiverInput.val @params.address
if @params.data?
if @params.data? && @params.data.length > 0
@view.dataInput.val @params.data
@view.dataRow.show()

Expand Down

0 comments on commit 2a60835

Please sign in to comment.