Remove redundant MakeUCharSpan wrappers

pull/20464/head
MarcoFalke 4 years ago
parent faf4aa2f47
commit fa29272459
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548

@ -1344,7 +1344,7 @@ static RPCHelpMan combinepsbt()
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
ssTx << merged_psbt;
return EncodeBase64(MakeUCharSpan(ssTx));
return EncodeBase64(ssTx);
},
};
}
@ -1483,7 +1483,7 @@ static RPCHelpMan createpsbt()
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
ssTx << psbtx;
return EncodeBase64(MakeUCharSpan(ssTx));
return EncodeBase64(ssTx);
},
};
}
@ -1552,7 +1552,7 @@ static RPCHelpMan converttopsbt()
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
ssTx << psbtx;
return EncodeBase64(MakeUCharSpan(ssTx));
return EncodeBase64(ssTx);
},
};
}
@ -1643,7 +1643,7 @@ static RPCHelpMan utxoupdatepsbt()
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
ssTx << psbtx;
return EncodeBase64(MakeUCharSpan(ssTx));
return EncodeBase64(ssTx);
},
};
}
@ -1739,7 +1739,7 @@ static RPCHelpMan joinpsbts()
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
ssTx << shuffled_psbt;
return EncodeBase64(MakeUCharSpan(ssTx));
return EncodeBase64(ssTx);
},
};
}

Loading…
Cancel
Save