lnrpc: add UnmarshalAMP decoding
This commit is contained in:
3 files changed
+132
-7
No files matched your search
@@ -129,7 +129,7 @@ func CreateRPCInvoice(invoice *channeldb.Invoice,
|
||||
rpcHtlc.Amp = &lnrpc.AMP{
|
||||
RootShare: rootShare[:],
|
||||
SetId: setID[:],
|
||||
ChildIndex: uint32(htlc.AMP.Record.ChildIndex()),
|
||||
ChildIndex: htlc.AMP.Record.ChildIndex(),
|
||||
Hash: htlc.AMP.Hash[:],
|
||||
Preimage: preimage,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user