mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
Bump SDK used in snippets to v0.3.1
This commit is contained in:
@@ -52,7 +52,7 @@ func ExecuteRefund() {
|
||||
// ANCHOR_END: execute-refund
|
||||
}
|
||||
|
||||
func GetChannelOpeningFees(amountMsat uint64) {
|
||||
func GetChannelOpeningFees(amountMsat *uint64) {
|
||||
// ANCHOR: get-channel-opening-fees
|
||||
if channelFees, err := sdk.OpenChannelFee(breez_sdk.OpenChannelFeeRequest{AmountMsat: amountMsat}); err == nil {
|
||||
log.Printf("%#v", channelFees)
|
||||
|
||||
Reference in New Issue
Block a user