Skip to content

Commit fa29272

Browse files
author
MarcoFalke
committed
Remove redundant MakeUCharSpan wrappers
1 parent faf4aa2 commit fa29272

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/rpc/rawtransaction.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1344,7 +1344,7 @@ static RPCHelpMan combinepsbt()
13441344

13451345
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
13461346
ssTx << merged_psbt;
1347-
return EncodeBase64(MakeUCharSpan(ssTx));
1347+
return EncodeBase64(ssTx);
13481348
},
13491349
};
13501350
}
@@ -1483,7 +1483,7 @@ static RPCHelpMan createpsbt()
14831483
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
14841484
ssTx << psbtx;
14851485

1486-
return EncodeBase64(MakeUCharSpan(ssTx));
1486+
return EncodeBase64(ssTx);
14871487
},
14881488
};
14891489
}
@@ -1552,7 +1552,7 @@ static RPCHelpMan converttopsbt()
15521552
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
15531553
ssTx << psbtx;
15541554

1555-
return EncodeBase64(MakeUCharSpan(ssTx));
1555+
return EncodeBase64(ssTx);
15561556
},
15571557
};
15581558
}
@@ -1643,7 +1643,7 @@ static RPCHelpMan utxoupdatepsbt()
16431643

16441644
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
16451645
ssTx << psbtx;
1646-
return EncodeBase64(MakeUCharSpan(ssTx));
1646+
return EncodeBase64(ssTx);
16471647
},
16481648
};
16491649
}
@@ -1739,7 +1739,7 @@ static RPCHelpMan joinpsbts()
17391739

17401740
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
17411741
ssTx << shuffled_psbt;
1742-
return EncodeBase64(MakeUCharSpan(ssTx));
1742+
return EncodeBase64(ssTx);
17431743
},
17441744
};
17451745
}

0 commit comments

Comments
 (0)