Bump SDK used in snippets to v0.3.1

This commit is contained in:
ok300
2024-02-26 15:48:06 +01:00
parent 5fd07da9e6
commit 4c51f89ff2
12 changed files with 20 additions and 43 deletions

View File

@@ -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)