forked from LBRYCommunity/lbry-sdk
convert amount on channel_new
This commit is contained in:
parent
17aee92dc9
commit
5809ba093d
1 changed files with 1 additions and 0 deletions
|
@ -1594,6 +1594,7 @@ class Daemon(AuthJSONRPCServer):
|
||||||
'claim_id' : (str) claim ID of the resulting claim
|
'claim_id' : (str) claim ID of the resulting claim
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
|
amount = int(amount * COIN)
|
||||||
tx = yield self.wallet.claim_new_channel(channel_name, amount)
|
tx = yield self.wallet.claim_new_channel(channel_name, amount)
|
||||||
self.wallet.save()
|
self.wallet.save()
|
||||||
script = tx.outputs[0].script
|
script = tx.outputs[0].script
|
||||||
|
|
Loading…
Reference in a new issue